#gs-builder-modal,
#gs-builder-image-modal,
#gs-builder-edit-modal {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 9999999999;
    left: 0;
    top: 0;

    background-image: var(--gs-builder-modal-bg, url("https://app.dripappsserver.com/assets/spinner.svg"));
    background-size: 150px auto;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0!important;
}


#gs-builder-image-modal {
    background-color: #000000f8;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

#gs-builder-image-modal img {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 95%;
    object-fit: contain;
    background-color: #222;
}

#gs-builder-image-modal .gs-modal-close {
    position: absolute;
    right: 2vw;
    top: 2vh;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;

    background-image: url("../close.svg");
    background-position: center;
    background-repeat: no-repeat;
}

#gs-builder-modal,
#gs-builder-edit-modal {
    background-color: white;
}

#gs-builder-modal iframe,
#gs-builder-edit-modal iframe {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border: none;
}

.old-theme,
#gs-builder-btn.old-theme {
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 24px;
}

#gs-builder-modal.old-theme {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5) !important;
    width: 100%;
    height: 100%;
    z-index: 999999;
}
